<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>用户管理</title>

    {include file="common/header-sub" /}
    <link rel="stylesheet" href="<?=STATIC_URL?>assets/build/<?=LOCAL_DIR?>css/zft-member.all.css?<?=st?>">
</head>

<body>
    <div class="g-content">
        <div class="m-box">
            <div class="i-b p30">
                <span>查询条件:</span>
                <select id="paramType" class="m-select p30 m-form_control">
                    <option value="">请选择</option>
                <option value="mobile">手机号码</option>
                <option value="username">平台账号</option>
                <option value="nickname">用户姓名</option>
            </select>
                <input id="searchInp" type="text" class=" m-form_control p30">
            </div>
            <div class="i-b p60">
                <span class="u-span">用户类型:</span>
                <select id="userType" class="m-select p30 m-form_control">
                    <?php if (isset($dtype)) { ?>
                        <?php if (in_array($dtype, [0])){ ?>
                            <option value="0">超级管理员</option>
                            <option value="4">运营方</option>
                            <option value="3">托管公司</option>
                        <?php }?>
                    <?php }?>
                    <option value="2">租户</option>
                    <option value="1" selected="selected">业主</option>
                    <option value="5">物业公司</option>
                    <option value="6">水电公司</option>
                </select>
                <button id="schUserType" class="m-btn m-btn_primary">查询</button>
                <div id="addBox" class="i-b">
                    
                </div>
            </div>

        </div>

        <div>
            <div class="h40">
                <div class="paginationWrap"></div>
            </div>
            <table class="g-table">
                <thead>
                    <th class="id">ID</th>
                    <th class="ptId">平台账号</th>
                    <th class="userName">用户姓名</th>
                    <th class="userType">用户类型</th>
                    <th class="tel">联系电话</th>
                    <th class="balance">账户余额/元</th>
                </thead>

            </table>
            <div class="u-div_overflow_x">
                <div class="u-div_overflow">
                    <table class="g-table">
                        <tbody id="tbody">
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="h40">
                <div id="paginationWrap" class="paginationWrap"></div>
            </div>
        </div>
    </div>

    <div id="modal"></div>
    {include file="common/footer-sub" /}
    <script src="<?=STATIC_URL?>assets/build/<?=LOCAL_DIR?>js/zft-member.all.js?<?=st?>"></script>
</body>

</html>